<div class="z_left">
<div class="prompt-m-enrol">
	<h2 class="enrolh2"><span class="titleicon"></span><strong>找回密码</strong></h2><!--enrol-->
		<div class="getback-middle">
		     <div class="getback-course">
		      <span class="star-yellow"></span><strong>找回密码第一步 &gt;&gt;</strong> <span class="star-yellow"></span><strong>找回密码第二步 &gt;&gt;</strong> <span class="star-green"></span><strong>找回密码第三步</strong>
			 </div><!--getback-course-->
			<br>
			<div class="getback-middletwo">
			<?if($this->ret['result']):?>
			<form method='post' action="<?=self::_makeURL($this->app,$this->controller,'reset_pwd2')?>" id='resetForm'>
				<input type="hidden" name="email" value="<?=$this->ret['data']['email']?>" />
				<ul class="zctable">
					<li id="passwordField">
						<span class="bt">密码</span><input  type="password"  tabindex="3" size="22" id="password" name="password" title="密码" />
						<span class="check"></span>
						<div class="caption c-999">密码应为6-15位, 必须使用数字英文混合</div>
					</li>
					<li id="password2Field">
						<span class="bt">再次输入密码</span><input  type="password"  tabindex="3" size="22" id="password2" name="password2" title="密码" />
						<span class="check"></span>
						<div class="caption color-999">&nbsp;</div>
					</li>
					<li id="zc"><input id="submitBtn" name="reset_pwd" type="submit" value="确认修改" /></li>
				</ul>
			</form>
		<script type="text/javascript">
			ResetForm.init3Handlers();
		</script>
		<?else:?>
		<?=$this->ret['reason']?>
		<?endif;?>
	</div><!--getback-middletwo-->
</div><!--getback-middle-->
</div>
</div>
<!--<div class="sec_content clearfix">          
	<h2 class="text">重设密码</h2>
    <div class="unlogin_form fl">
      <form id="form1" name="form1" method="post" action="/member/getpassword" onsubmit="return check();">
       <p>
         <label class="f_label" for="email">登录虾米的Email：</label>
         <input type="text" id="email" class="txt_input r3px" name="email" value="" spellcheck="false">
       </p>
       <p class="acts">
         <input class="text blue_btn blue_btn2 r3px f14" type="submit" value="重设密码" name="submit">
       </p>
      </form>
   </div>-->
<script language="javascript" runat="Server">
function check()
{
	if(document.form1.email.value=='')
	{
		alert("邮箱不允许为空");
		document.form1.email.focus();
		return false;
	}
	
	if(document.form1.email.value.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) == -1)
	{
		alert("请输入正确的邮箱");
		document.form1.email.focus();
		return false;
	}

	return true;
}
</script>
<!--</div>-->
</div>